.class public Lde/innosystec/unrar/rarfile/p;
.super Lde/innosystec/unrar/rarfile/c;
.source "SubBlockHeader.java"


# instance fields
.field private j:Lorg/apache/commons/logging/Log;

.field private k:S

.field private l:B


# direct methods
.method public constructor <init>(Lde/innosystec/unrar/rarfile/c;[B)V
    .locals 1

    .line 5
    invoke-direct {p0, p1}, Lde/innosystec/unrar/rarfile/c;-><init>(Lde/innosystec/unrar/rarfile/c;)V

    .line 6
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p1

    invoke-static {p1}, Lorg/apache/commons/logging/LogFactory;->getLog(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;

    move-result-object p1

    iput-object p1, p0, Lde/innosystec/unrar/rarfile/p;->j:Lorg/apache/commons/logging/Log;

    const/4 p1, 0x0

    .line 7
    invoke-static {p2, p1}, Les/ap0;->c([BI)S

    move-result p1

    iput-short p1, p0, Lde/innosystec/unrar/rarfile/p;->k:S

    .line 8
    iget-byte p1, p0, Lde/innosystec/unrar/rarfile/p;->l:B

    const/4 v0, 0x2

    aget-byte p2, p2, v0

    and-int/lit16 p2, p2, 0xff

    or-int/2addr p1, p2

    int-to-byte p1, p1

    iput-byte p1, p0, Lde/innosystec/unrar/rarfile/p;->l:B

    return-void
.end method

.method public constructor <init>(Lde/innosystec/unrar/rarfile/p;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Lde/innosystec/unrar/rarfile/c;-><init>(Lde/innosystec/unrar/rarfile/c;)V

    .line 2
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-static {v0}, Lorg/apache/commons/logging/LogFactory;->getLog(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;

    move-result-object v0

    iput-object v0, p0, Lde/innosystec/unrar/rarfile/p;->j:Lorg/apache/commons/logging/Log;

    .line 3
    invoke-virtual {p1}, Lde/innosystec/unrar/rarfile/p;->m()Lde/innosystec/unrar/rarfile/SubBlockHeaderType;

    move-result-object v0

    invoke-virtual {v0}, Lde/innosystec/unrar/rarfile/SubBlockHeaderType;->getSubblocktype()S

    move-result v0

    iput-short v0, p0, Lde/innosystec/unrar/rarfile/p;->k:S

    .line 4
    invoke-virtual {p1}, Lde/innosystec/unrar/rarfile/p;->l()B

    move-result p1

    iput-byte p1, p0, Lde/innosystec/unrar/rarfile/p;->l:B

    return-void
.end method


# virtual methods
.method public i()V
    .locals 3

    .line 1
    invoke-super {p0}, Lde/innosystec/unrar/rarfile/c;->i()V

    .line 2
    iget-object v0, p0, Lde/innosystec/unrar/rarfile/p;->j:Lorg/apache/commons/logging/Log;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "subtype: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lde/innosystec/unrar/rarfile/p;->m()Lde/innosystec/unrar/rarfile/SubBlockHeaderType;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lorg/apache/commons/logging/Log;->info(Ljava/lang/Object;)V

    .line 3
    iget-object v0, p0, Lde/innosystec/unrar/rarfile/p;->j:Lorg/apache/commons/logging/Log;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "level: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-byte v2, p0, Lde/innosystec/unrar/rarfile/p;->l:B

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lorg/apache/commons/logging/Log;->info(Ljava/lang/Object;)V

    return-void
.end method

.method public l()B
    .locals 1

    .line 1
    iget-byte v0, p0, Lde/innosystec/unrar/rarfile/p;->l:B

    return v0
.end method

.method public m()Lde/innosystec/unrar/rarfile/SubBlockHeaderType;
    .locals 1

    .line 1
    iget-short v0, p0, Lde/innosystec/unrar/rarfile/p;->k:S

    invoke-static {v0}, Lde/innosystec/unrar/rarfile/SubBlockHeaderType;->findSubblockHeaderType(S)Lde/innosystec/unrar/rarfile/SubBlockHeaderType;

    move-result-object v0

    return-object v0
.end method
